package com.technology.io;

import java.io.File;
import java.util.Date;

public class FileUsing {

	public static void main(String[] args) {
		File analyzedFile = new File("src/com/technology/io/test.txt");
		System.out.println("Is File protected for writing : " + analyzedFile.canWrite());
		System.out.println("File size : " + analyzedFile.length());
		System.out.println("File Separator : " + File.separator);
		
		System.out.printf("File size is %s %2s bytes", analyzedFile.length(), 2);
	}

}
